@extends('admin/layout/index')
@section('content')
<div class="mws-panel grid_8">
	<div class="mws-panel-header">
    	<span>添加商品图片</span>
    </div>
    <div class="mws-panel-body no-padding">
    	<form class="mws-form" action="/admin/image/insert?gid={{ $gid }}&ve_id={{ $ve_id }}" enctype='multipart/form-data' method='post'>
    		{{ csrf_field() }}
    		<div class="mws-form-inline">
    			<div class="mws-form-row">
    				<label class="mws-form-label">上传商品图片</label>
    				<div class="mws-form-item">
    					<input type="file" name='pic'>
    				</div>
    			</div>
    			<div class="mws-form-row">
    				<label class="mws-form-label">显示位置</label>
    				<div class="mws-form-item">
                        置顶:<input type="radio" name='atime' value='1'>
    					普通:<input type="radio" name='atime' value='0' checked >
    				</div>
    			</div>
    		</div>
    		<div class="mws-button-row">
    			<input value="提交" class="btn btn-danger" type="submit">
    			<input value="重置" class="btn " type="reset">
    		</div>
    	</form>
    </div>    	
</div>
@endsection